 /**
 * @(#) StartupCommand.as
 *
 * @date		2013. 03. 27.
 * @version		1.0
 * @author		Park, JuTae
 * @description	Application 시작을 처리하는 Command
 *
 */
package com.skt.common_hr.ethics.controller
{
	
	
	import com.skt.common_hr.ethics.model.EthicsProxy;
	import com.skt.common_hr.ethics.view.EthicsMediator;
	
	import org.puremvc.as3.multicore.interfaces.ICommand;
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;

	public class StartupCommand extends SimpleCommand implements ICommand
	{

		override public function execute(note:INotification):void
		{
			var app:Ethics = note.getBody() as Ethics;
			
			facade.registerMediator(new EthicsMediator(app.view));
			facade.registerProxy(new EthicsProxy());
			
			trace("execute startupCommand in Ethics Module");
		}
	}
}